package cn.wolfcode.luowowo.acticle.service.impl;

import cn.wolfcode.luowowo.acticle.domain.CityScenicDetail;
import cn.wolfcode.luowowo.acticle.mapper.CityScenicDetailMapper;
import cn.wolfcode.luowowo.acticle.service.ICityScenicDetailService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

@Service
public class CityScenicDetailServiceImpl implements ICityScenicDetailService {

    @Autowired
    private CityScenicDetailMapper cityScenicDetailMapper;


    public CityScenicDetail  queryForOne(CityScenicDetail detail) {
        return cityScenicDetailMapper.selectByPrimaryKey(detail.getId());
    }
}
